package com.example.litepal;

import org.litepal.crud.LitePalSupport;
import org.litepal.exceptions.DataSupportException;

public class Category extends LitePalSupport {
    //不写id 会自动创建主键id且自增
    private String categoryName;
    private int categoryCode;

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public int getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(int categoryCode) {
        this.categoryCode = categoryCode;
    }
}
